package nc.ui.pn.mon;
import nc.ui.pn.pub.PlanControl;
import nc.ui.trade.button.IBillButton;
import nc.vo.lm.pub.LmBillStatus;
import nc.vo.lm.pub.LmPubBillButton;
import nc.vo.pn.mon.PlanMonthBVO;
import nc.vo.pn.year.PlanHVO;
import nc.vo.trade.pub.HYBillVO;
public class ClientController extends PlanControl {	
	public String getBillType() {
		return LmBillStatus.BILL_TYPE_PLAN_MONTH;
	}
	public int[] getCardButtonAry() {
		int[] buttonArray = new int[] {
				IBillButton.Refbill,
//				IBillButton.Add,
				IBillButton.Edit,
				IBillButton.Save,
				IBillButton.Cancel,	
				IBillButton.Query, 
				IBillButton.Action,	
				IBillButton.Del,			
				IBillButton.Line,
				IBillButton.Brow,
				IBillButton.Refresh,			 
				IBillButton.Return,
				IBillButton.Print,
				IBillButton.ApproveInfo,
				LmPubBillButton.LINKQUERY
		  };
		return buttonArray;
}
	public int[] getListButtonAry() {
		int[] buttonArray = new int[] {	
				IBillButton.Refbill,
//				IBillButton.Add,
				IBillButton.Edit,
				IBillButton.Save,
				IBillButton.Cancel,	
				IBillButton.Query, 
//				IBillButton.Action,	
				IBillButton.Del,			
				IBillButton.Line,
				IBillButton.Brow,
				IBillButton.Refresh,			 
				IBillButton.Card,
				IBillButton.Print,
				IBillButton.ApproveInfo,
				LmPubBillButton.LINKQUERY
		};
		return buttonArray;
	}
	public String[] getBillVoName() {
		return new String[] {
				HYBillVO.class.getName(),
				PlanHVO.class.getName(),
				PlanMonthBVO.class.getName()
				};
	}
	public String getChildPkField() {
		return "cplanmonthid";
	}
	
	public String getPkField() {
		return "cplanid";
	}
}
